#ifndef VERIFYRULEVIEW_H
#define VERIFYRULEVIEW_H

#include <QDialog>
#include "dboperate.h"

namespace Ui {
class VerifyRuleView;
}

class VerifyRuleView : public QDialog
{
    Q_OBJECT

public:
    explicit VerifyRuleView(QWidget *parent = 0);
    ~VerifyRuleView();
    Rule getUserRule();
    int getUserID();
    void setUserName(QString);

private slots:
    void on_okButton_clicked();

private:
    Ui::VerifyRuleView *ui;
    Rule userRule;
    int uuid;
};

#endif // SEARCHRULEVIEW_H
